package com.cloud.shopping.user.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author John.zhang
 * @version Id: model, v 1.0 2021/1/3 20:41 ZhiYong Exp $
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "address")
public class Address implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String provinceId;
    private String cityId;
    private String areaId;
    private String phone;
    private String address;
    private String contact;
    private Integer isDefault;

}
